import request from '@/utils/request'

// 查询token申请列表
export function listT26(query) {
  return request({
    url: '/system/T26/comList',
    method: 'get',
    params: query
  })
}

// 查询token申请详细
export function getT26(F2601) {
  return request({
    url: '/system/T26/' + F2601,
    method: 'get'
  })
}

// 新增token申请
export function addT26(data) {
  return request({
    url: '/system/T26',
    method: 'post',
    data: data
  })
}

// 修改token申请
export function updateT26(data) {
  return request({
    url: '/system/T26',
    method: 'put',
    data: data
  })
}

// 删除token申请
export function delT26(F2601) {
  return request({
    url: '/system/T26/' + F2601,
    method: 'delete'
  })
}

// 审批token申请通过
export function auditT26(data) {
  return request({
    url: '/system/T26/toSuccess',
    method: 'post',
    data: data
  })
}

// 审批token申请不通过
export function auditT26Fail(data) {
  return request({
    url: '/system/T26/toRefuse',
    method: 'post',
    data: data
  })
}
